home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Scope / Scope Disk #177 (199x)(Scope PD)(US)[WB].zip / Scope Disk #177 (199x)(Scope PD)(US)[WB].adf / DJFilter / filter_all.script < prev    next >
Text File  |  1991-01-03  |  885b  |  30 lines

  1. ; filter_all.script by Steve Anderson, 12/22/90
  2. ;    Script to route all printed files through DJ_Filt
  3. ;
  4. ; Usage: put the following in your s:startup-sequence to always filter
  5. ;    your printer output through DJ_Filt (change the path of the script
  6. ;    as approprite for your setup):
  7. ;
  8. ; c:run <NIL: >NIL: execute s:filter_all.script
  9. ;
  10. ; At any time you can kill it by:
  11. ;  1) type 'status' and find which CLI process has the 'CMD' command
  12. ;  2) issue two quick 'break n' commands, where n is the CLI process
  13. ;     number.
  14. ;  3) type 'status' again to check - repeat if necessary.
  15.  
  16. failat 1
  17.  
  18. lab loop
  19.   sys:utilities/CMD <NIL: >NIL: parallel RAM:dj_filt_file
  20.  
  21. lab check
  22. if EXISTS RAM:dj_filt_file
  23.   c:dj_filt ram:dj_filt_file par: ram:dj_filter.errors
  24.   delete ram:dj_filt_file
  25. else
  26.   echo >ram:dfilt_script.err "File was not there as expected."
  27. endif
  28. wait <NIL: >NIL: 5
  29. skip loop BACK
  30.